<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
    <title>图库列表 - 光年(Light Year Admin)后台管理系统模板</title>
    <link rel="icon" href="favicon.ico" type="image/ico">
    <meta name="keywords" content="LightYear,光年,后台模板,后台管理系统,光年HTML模板">
    <meta name="description" content="LightYear是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。">
    <meta name="author" content="yinqi">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/materialdesignicons.min.css" rel="stylesheet">
    <link href="css/style.min.css" rel="stylesheet">

    <!-- 引入样式 -->
    <link rel="stylesheet" href="./plugins/elementui/index.css">
    <link rel="stylesheet" href="./plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="./csse/style.css">
    <!-- 引入组件库 -->
    <script type="text/javascript" src="./js/jquery.min.js"></script>
    <script src="./js/vue.js"></script>
    <script src="./plugins/elementui/index.js"></script>
    <script src="./js/axios-0.18.0.js"></script>
    <!--请求和响应组件-->
    <script src="./js/public.js"></script>
    <script src="./js/splitparam.js"></script>
</head>

<body>
<div class="container-fluid p-t-15" id="app">

    <div class="row">
        <div class="col-lg-12">
            <div class="card">
                <div class="card-body">

                    <div class="masonry-grid" data-provide="photoswipe">

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/1.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/5.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/2.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/3.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/4.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/9.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/6.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/7.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/8.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/10.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/11.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/13.jpg" alt="The selected child description">
                        </a>

                        <a class="masonry-item" href="#">
                            <img src="images/gallery/14.jpg" alt="The selected child description">
                        </a>

                    </div>

                </div>
            </div>
        </div>

    </div>

</div>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/main.min.js"></script>


<script>
    var url = location.search;
    let param1 = getParam(url);
    var base = getBackUrl();
    var vue = new Vue({
        el: '#app',
        data: {
            currentDate: new Date(),
            pocList: [],//图片数据
        },
        created() {
            // check();
            this.getTopicDeatilById();
        },
        methods: {
            //根据id查询topic详情
            getTopicDeatilById() {
                //console.log(param1.id);
                axios.get(base+"/topic/getTopicDeatilById/"+param1.id).then((res)=>{
                    this.pocList = res.data[0].pocUrl;
                    console.log(res.data);
                    //console.log(this.pocList)
                    //console.log(res)
                })
            },
        }
    })
</script>

</body>
</html>